<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>React 简单页面</title>
    <script src="javascript/react.production.min.js"></script>
    <script src="javascript/react-dom.production.min.js"></script>
    <script src="javascript/babel.min.js"></script>

    <link href="https://cdn.bootcss.com/highlight.js/9.12.0/styles/vs2015.min.css" rel="stylesheet">
    <script src="https://cdn.bootcss.com/highlight.js/9.12.0/highlight.min.js"></script>

    <script>hljs.initHighlightingOnLoad();</script>
</head>
<body>
<div id="example"></div>
<p>代码</p>
<pre><code class="js">    ReactDOM.render(
        < h1 >欢迎使用React!< /h1>,
        document.getElementById('example')
    );
</code>
<script type="text/babel">
    ReactDOM.render(
        < h1 >欢迎使用React!< /h1 >,
        document.getElementById('example')
    );
</script>

</body>
</html>